package com.dyypdadmin.service;

import com.dyypdadmin.pojo.MedicalRecords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MedicalRecordsService {
    int addMedicalRecord( String order_number,
                          Integer user_id,
                          String diagnosis_result,
                          Integer is_medication_required,
                          String medication_details,
                          String doctor_advice);
    List<MedicalRecords> getByUserId(Integer user_id);

    //医疗记录列表
    List<MedicalRecords> getAll();

    List<MedicalRecords> getAllMedicalRecordByOrderNumbergetAllMedicalRecord(@Param("order_number")String order_number);

    int getMedicalRecordsCounts();

    List<MedicalRecords> getAllMedicalRecordsByPetId(Integer pet_id);
}
